Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update snapshots to pull in latest Java 8 (8u212) #330

Merged
merged 3 commits into from
Mar 25, 2019
Merged

Conversation

chanseokoh
Copy link
Member

@chanseokoh chanseokoh commented Mar 22, 2019

Fixes #293 #331.

Locally built Java 8 shows 8u212. Yeah!

$ docker run --rm bazel/java:java8_debug -version
openjdk version "1.8.0_212"
OpenJDK Runtime Environment (build 1.8.0_212-8u212-b01-1~deb9u1-b01)
OpenJDK 64-Bit Server VM (build 25.212-b01, mixed mode)

@chanseokoh
Copy link
Member Author

Fixed tests.

@chanseokoh
Copy link
Member Author

Removed the JVM flags. This will close #331 too. @GoogleContainerTools/java-tools-build

Copy link
Member

@briandealwis briandealwis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@briandealwis
Copy link
Member

diff --git a/java/BUILD b/java/BUILD
index d103d2b..351458c 100644
--- a/java/BUILD
+++ b/java/BUILD
@@ -26,7 +26,10 @@ cacerts_java(
     ],
     # We expect users to use:
     # cmd = ["/path/to/deploy.jar", "--option1", ...]
-    entrypoint = ["/usr/bin/java", "-jar"],
+    entrypoint = [
+        "/usr/bin/java",
+        "-jar",
+    ],
     env = {
         "JAVA_VERSION": jre_ver(versions[jre_deb]),
     },

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants